clc;
clear all;
close all;

% filename='data\meris\MER_FR__1PNEPA20100422_162343_000000982088_00441_42579_8412';
filename='data\envi\demo\modis_0429_subset'
[image,imageSize] =loadEnviData(filename);

image=normalize(image);

% meris data RGB band number is [6,5,3]
RGBBand=[1,4,3];

showRGBImage(image, RGBBand);

% image=image(1000:1500,1000:1500,:);
showRGBImage(image,RGBBand);
label=cluster(image,4,'Kmeans');
figure();
axis off;
imagesc(label);

